<?php
require_once 'IModel.class.php';

abstract class AbstractModel implements IModel {
    
    /* Atributo de log para todas as classes filhas. */
    protected $log;

    private $action;
    private $result;
    
    /**
     * Default constructor.
     */
    public function __construct() {
        $this->log = new Log();
    }

    public function getAction() {
        return $this->action;
    }

    public function setAction($action) {
        $this->action = $action;
    }

    public function getResult() {
        return $this->result;
    }

    public function setResult($result) {
        $this->result = $result;
    }
}

?>
